package cn.com.api.service.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_erp_log;

/**
 * 
 */
@Service
public interface T_erp_logServiceBase {

	//根据id查看
	public ApiT_erp_log findT_erp_logById(Integer id);
	
    //查看数据集
	public List<ApiT_erp_log> findT_erp_logs();
    
	//添加
 	public int insertT_erp_log(ApiT_erp_log t_erp_log);
  	
	//修改
    public int updateT_erp_log(ApiT_erp_log t_erp_log);
    
    //删除
    public int deleteT_erp_log(Integer id);
    
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    //获取根据goods_id	
    public List<ApiT_erp_log> findT_erp_logsByGoods_id(String goods_id);
    		
    //获取根据products_id	
    public List<ApiT_erp_log> findT_erp_logsByProducts_id(String products_id);
    		
    //获取根据order_id	
    public List<ApiT_erp_log> findT_erp_logsByOrder_id(String order_id);
    		
 
}


